package com.icygen.eclipsetools.project.config;

import javax.xml.bind.annotation.*;

import com.icygen.eclipsetools.project.config.elements.SingleValueMap;

public class PhpSettings {
	/*
	  		<display_startup_errors value="0" />
            <display_errors value="0" />
            <post_max_size value="100M" />
            <upload_max_filesize value="99M" />
            <date>
                <timezone>UTC</timezone>
            </date>
            <session>
                <name>POILSESS</name>
            </session>
            <mbstring>
                <internal_encoding>UTF-8</internal_encoding>
            </mbstring>
	 */
	
	@XmlElement(name = "display_startup_errors")
	SingleValueMap _displayStartupErrors = new SingleValueMap("0");
	
	@XmlElement(name = "display_errors")
	SingleValueMap _displayErrors = new SingleValueMap("0");
	
	@XmlElement(name = "post_max_size")
	SingleValueMap _postMaxSize = new SingleValueMap("100M");
	
	@XmlElement(name = "upload_max_filesize")
	SingleValueMap _uploadMaxFileSize = new SingleValueMap("100M");
	
	public String getDisplayStartupErrors() 
	{
        return _displayStartupErrors.value;
    }
	
	public PhpSettings setDisplayStartupErrors(String value)
	{
		_displayStartupErrors.value = value;
		return this;
	}
}
